package com.qumitech.visualnovel.datasource.app;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.app.UserGamingBlowNianBeastStatisticsDO;

public interface UserGamingBlowNianBeastStatisticsDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserGamingBlowNianBeastStatisticsDO record);

    int insertSelective(UserGamingBlowNianBeastStatisticsDO record);

    UserGamingBlowNianBeastStatisticsDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserGamingBlowNianBeastStatisticsDO record);

    int updateByPrimaryKey(UserGamingBlowNianBeastStatisticsDO record);

    int getStatisticListCount(@Param("uid") String uid,
        @Param("minGamingDiamonds") String minGamingDiamonds,
        @Param("maxGamingDiamonds") String maxGamingDiamonds,
        @Param("startTime") String startTime, @Param("endTime") String endTime);

    List<UserGamingBlowNianBeastStatisticsDO> getStatisticList(@Param("uid") String uid,
        @Param("minGamingDiamonds") String minGamingDiamonds,
        @Param("maxGamingDiamonds") String maxGamingDiamonds,
        @Param("startTime") String startTime, @Param("endTime") String endTime,
        @Param("orderType") String orderType, @Param("orderBy") String orderBy,
        @Param("offset") int offset, @Param("limit") int limit);
}